package org.example.main.service;

import org.example.main.entity.Record;

import java.util.List;

public interface RecordService {
    int add(Record record);
    int deleteById(long recordId);
    List<Record> findAll();
    List<Record> findByHouseId(long houseId);
    List<Record> findByTenantId(long tenantId);
}
